package com.xxx.yuedong.mine.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 课程表
 * </p>
 *
 * @Author Lry
 * @Date 2023-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_course")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 课程id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 课程名称
     */
    private String name;

    /**
     * 课程描述
     */
    private String desc;
    /**
     * 课程封面
     */
    private String cover;

    /**
     * 视频地址
     */
    private String url;

    /**
     * 视频标签
     */
    private String tags;

    /**
     * 卡路里
     */
    private Integer calorie;

    /**
     * 视频时长
     */
    private Integer duration;


}
